bf6a5d
@@ -104,6 +104,7 @@
public Object evaluate(DeferredObject[] arguments) throws HiveException {
     } catch (IOException e) {
       throw new RuntimeException(e);
     }
+    ret.clear();
     List<LongWritable> retList = bitmapToWordArray(bitmapAnd);
     for (LongWritable l : retList) {
       ret.add(l);
